<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<script type="text/javascript" src="../js/jquery-3.1.0.min.js"></script>
</head>
<body>
<form action="UpdateRoleFunctionServlet">
<c:forEach items="${menulist}" var="menu">
<input type="checkbox" name="function" value="${menu.menuId}" ${menu.isChecked==1?"checked":""} >${menu.menuName}<br>
</c:forEach>
<input type="hidden" value="${param.id}" name="roleId">
<input type="submit" value="确定">
</form>
</body>
</html>